

mainConstants = require "main_constants"
SCREEN_RESOLUTION_X =  WORLD_RESOLUTION_X 
SCREEN_RESOLUTION_Y =  WORLD_RESOLUTION_Y 
resourceDefinitions = require "resource_definitions"
resourceManager = require "resource_manager"
game = require "game"
--To play the concetration just comment line above and uncomment line below!!!!!
--game = require "concetration_game"
inputManager = require "input_manager"


MOAISim.openWindow("BraveDog v. 0.0.1", SCREEN_RESOLUTION_X, WORLD_RESOLUTION_Y)
 
 viewPort = MOAIViewport.new()
 viewPort:setSize(SCREEN_RESOLUTION_X, SCREEN_RESOLUTION_Y)
 viewPort:setScale(WORLD_RESOLUTION_X, WORLD_RESOLUTION_Y)
 
 
 function mainLoop()
   game:start()
 end
 
 gameThread = MOAICoroutine.new()
 gameThread:run(mainLoop)